const KEY = 'my-token-vant-mobile'
// localStorage.setItem(键， 值)
// localStorage.getItem(键)
// localStorage.removeItem(键)
// 按需导入
// 存取
export const getToken = () => {
  return localStorage.getItem(KEY)
}
// 获取token
export const setToken = data => {
  localStorage.setItem(KEY, data)
}
// 删除
export const delToken = () => {
  localStorage.removeItem(KEY)
}
